Java.perform(function () {
    let o = Java.use("g4.o");
    o["o"].implementation = function (str, str2, str3, str4) {
        console.log(`o.o is called: str=${str}, str2=${str2}, str3=${str3}, str4=${str4}`);
        let result = this["o"](str, str2, str3, str4);
        console.log(`o.o result=${result}`);
        return result;
    };
})
